package com.fc.test.mapper.auto;

import com.fc.test.model.auto.EntUser;
import com.fc.test.model.auto.EntUserExample;
import java.util.List;

import com.fc.test.model.auto.StuInfo;
import org.apache.ibatis.annotations.Param;

/**
 * 企业用户 EntUserMapper
 * @author DrRic_自动生成
 * @email drhyz@qq.com
 * @date 2020-07-05 17:22:10
 */
public interface EntUserMapper {
      	      	   	      	      	      	      	      	      
    long countByExample(EntUserExample example);

    int deleteByExample(EntUserExample example);
		
    int deleteByPrimaryKey(Integer id);
		
    int insert(EntUser record);

    int insertSelective(EntUser record);

    List<EntUser> selectByExample(EntUserExample example);
		
    EntUser selectByPrimaryKey(Integer id);
		
    int updateByExampleSelective(@Param("record") EntUser record, @Param("example") EntUserExample example);

    int updateByExample(@Param("record") EntUser record, @Param("example") EntUserExample example); 
		
    int updateByPrimaryKeySelective(EntUser record);

    int updatePasswordByPrimaryKeySelective(@Param("uid") Integer id, @Param("upassword") String password);

    int updateByPrimaryKey(EntUser record);

    EntUser selectByName(String username);
}